package cn.com.cym.gamezao.repository.authorize;

import cn.com.cym.gamezao.base.BaseRepository;
import cn.com.cym.gamezao.entity.authorize.Authorize;
import org.springframework.data.redis.core.RedisHash;
import org.springframework.stereotype.Repository;

import java.util.List;

@RedisHash
@Repository
public interface AuthorizeRepository extends BaseRepository<Authorize,Long> {
    Authorize getByCode(String code);

    List<Authorize> getBySysMenu(Boolean sysMenu);
}
